<?php
/*
 * Created on 2012-1-30
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 class BaseClass {
 	function __construct(){
 		print "In BaseClass constructor\n";
 		
 	}
 }
 class SubClass extends BaseClass{
 	function __construct(){
 		parent::__construct();
 		print "In SubClass constructor\n";
 		
 	}
 }
 $obj = new BaseClass();
 $obj = new SubClass();
 
?>
